{strip} {assign var=is_friend value=$this->isfriend($user.id)}
{$this->getAlbumName($album_res['name'])} ({$pCount} {$this->lang['photos']})
{if !$is_friend && $user['private'] === 'yes' && $user['id'] !== $this->USER['id']} {include file=$this->private_profile_tpl} {else}
{if $this->USER['id'] === $user['id']}
{include file={$_addPhoto}}
{/if}
{$this->lang['your_old_pictures']}
{if $query != ''}
{foreach $query as $result} {assign var=is_gif value=$this->is_gif($result.id)} {/foreach}
{/if}
{/if}
{/strip}